export default {
    "名称": "迷魂灯",
    "类型": "法宝",
    "属性加成": function (fight_data, fight_unit, fb) {
        if (G.FightUnitUtils.remove_unit_fabao_lingqi(fight_data, fb, 1)) {
            let jc = 10;
            if (fb["境界"] === 3 || fb["境界"] === 4) {
                jc = 25;
                } else if (fb["境界"] === 5 || fb["境界"] === 6) {
                jc = 30;
                } else if (fb["境界"] === 7 || fb["境界"] === 8) {
                jc = 35;
                } else if (fb["境界"] >= 9) {
                jc = 40;
            }
            if (fb["五行"] === "水") {
                fight_unit["抵抗封印等级"] += jc + 10;
                } else if (fb["五行"] === "土") {
                fight_unit["抵抗封印等级"] += jc - 10;
                } else {
                fight_unit["抵抗封印等级"] += jc;
            }
        }
    }
};